package com.zd.commodity.userMng.entity;

import java.util.List;

/**
 * Mmenu entity. @author MyEclipse Persistence Tools
 */

public class Mmenu implements java.io.Serializable {

	// Fields
	private Long id;
	private String text;
	private String menuNameen;
	private String href;
	private String status;
	private Long parentId;
	private Long[] tags;//bootstrap-treeview 的tags属性来存放菜单id
	private List<Mmenu> nodes;
	private State state;
	
	
	public Long getId() {
		return this.id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getMenuNameen() {
		return this.menuNameen;
	}

	public void setMenuNameen(String menuNameen) {
		this.menuNameen = menuNameen;
	}


	public String getStatus() {
		return this.status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public Long getParentId() {
		return this.parentId;
	}

	public void setParentId(Long parentId) {
		this.parentId = parentId;
	}

	public String getText() {
		return text;
	}

	public void setText(String text) {
		this.text = text;
	}

	public String getHref() {
		return href;
	}

	public void setHref(String href) {
		this.href = href;
	}

	public List<Mmenu> getNodes() {
		//return nodes==null||nodes.size()==0?null:nodes;
		return nodes;

	}

	public void setNodes(List<Mmenu> nodes) {
		this.nodes = nodes;
	}

	public Long[] getTags() {
		return tags;
	}

	public void setTags(Long[] tags) {
		this.tags = tags;
	}

	public State getState() {
		return state;
	}

	public void setState(State state) {
		this.state = state;
	}
	
}